home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / pcv06n01.zip / SECRET.BAT < prev    next >
DOS Batch File  |  1993-06-07  |  519b  |  21 lines

  1. REM SECRET.BAT
  2. @ECHO OFF
  3. IF (%2)==() GOTO INFO
  4. ECHO Enter your secret below. 
  5. ECHO Press Enter at the end of each line. 
  6. ECHO Use as many lines as necessary. 
  7. ECHO When you're done, press Ctrl-Z, Enter.
  8. COPY CON TEMP.TMP > NUL
  9. ENCRYPT "%2" <TEMP.TMP >%1
  10. ECHO SECRET >TEMP.TMP
  11. DEL TEMP.TMP > NUL
  12. GOTO END
  13. :INFO 
  14. ECHO.
  15. ECHO SECRET.BAT lets you enter text, and uses
  16. ECHO ENCRYPT.COM to hide it in a file of your choice. 
  17. ECHO Use this syntax for the command: 
  18. ECHO SECRET filename password 
  19. ECHO.
  20. :END
  21.